import Vue from 'vue'
import App from './App.vue'

import skylibrary from './skylibrary/index'
import "./skylibrary/index.scss";

import "./iconfont/iconfont.css";

Vue.use(skylibrary)

import router from "./router/";

//代码高亮文件引入
import hljs from 'highlight.js'
//样式文件,这里我选的是sublime样式，文件里面还有其他样式可供选择
import 'highlight.js/styles/monokai-sublime.css'

Vue.directive('highlight', function (el) {
  let blocks = el.querySelectorAll('pre code');
  blocks.forEach((block) => {
    hljs.highlightBlock(block)
  })
})


// import './utils/mouseClick'


import './styles/index.scss'

import './plugins/element.js'

Vue.config.productionTip = false

let cccc = { aa: 'cccww' };

import skyconfig from "../sky.config.json"
global.skyconfig = skyconfig


import VueSocketIO from 'vue-socket.io'
Vue.use(
  new VueSocketIO({
    debug: true,
    connection: 'http://127.0.0.1:8000', //服务端连接
  })
)



new Vue({
  router,
  render: h => h(App),
}).$mount('#app')

let aaa = 122;
































































